package com.camel.base.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.camel.core.entity.BasePaginationEntity;
import lombok.Data;

/**
 * 人员信息表
 * @TableName bp_user
 */
@TableName(value ="bp_user")
@Data
public class BpUser extends BasePaginationEntity implements Serializable {
    /**
     * 用户唯一标志
     */
    @TableId(value = "user_id")
    private String userId;

    /**
     * 用户编码
     */
    @TableField(value = "user_name")
    private String userName;

    /**
     * 用户名
     */
    @TableField(value = "user_title")
    private String userTitle;

    /**
     * 用户密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 用户安全码
     */
    @TableField(value = "user_acces_secret")
    private String userAccesSecret;

    /**
     * 是否锁定
     */
    @TableField(value = "locked")
    private String locked;

    /**
     * 是否有效
     */
    @TableField(value = "valId")
    private String valid;

    /**
     * 是否过期
     */
    @TableField(value = "expire")
    private String expire;

    /**
     *
     */
    @TableField(value = "css")
    private String css;

    /**
     *
     */
    @TableField(value = "criticalcert")
    private String criticalcert;

    /**
     * 修改时间
     */
    @TableField(value = "modifytime")
    private Date modifytime;

    /**
     * 用户修改ID
     */
    @TableField(value = "modify_id")
    private String modifyId;

    /**
     * IP限制
     */
    @TableField(value = "ip_limit")
    private String ipLimit;

    /**
     * 有效期开始时间
     */
    @TableField(value = "start_time")
    private String startTime;

    /**
     * 有效期结束时间
     */
    @TableField(value = "end_time")
    private String endTime;

    /**
     * MAC地址限制
     */
    @TableField(value = "mac_limit")
    private String macLimit;

    /**
     * 用户状态
     */
    @TableField(value = "state")
    private String state;

    /**
     * 锁定时间
     */
    @TableField(value = "lock_time")
    private Date lockTime;

    /**
     * 锁定原因
     */
    @TableField(value = "lock_reason")
    private String lockReason;

    /**
     * 锁定IP
     */
    @TableField(value = "lock_ip")
    private String lockIp;

    /**
     * 解锁IP
     */
    @TableField(value = "un_lock_ip")
    private String unLockIp;

    /**
     * 解锁时间
     */
    @TableField(value = "un_lock_time")
    private Date unLockTime;

    /**
     * 是否自动解锁
     */
    @TableField(value = "autoun_lock")
    private String autounLock;

    /**
     * 单位编号
     */
    @TableField(value = "bureau_name")
    private String bureauName;

    /**
     * 单位名称
     */
    @TableField(value = "bureau_title")
    private String bureauTitle;

    /**
     * 部门编号
     */
    @TableField(value = "department_name")
    private String departmentName;

    /**
     * 部门名称
     */
    @TableField(value = "department_title")
    private String departmentTitle;

    /**
     * 用户电话
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     *
     */
    @TableField(value = "office1")
    private String office1;

    /**
     *
     */
    @TableField(value = "office2")
    private String office2;

    /**
     * 用户邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     *
     */
    @TableField(value = "email2")
    private String email2;

    /**
     *
     */
    @TableField(value = "virtualnumber")
    private String virtualnumber;

    /**
     * 用户顺序编号
     */
    @TableField(value = "sortNo")
    private Long sortno;

    /**
     * 密码错误次数
     */
    @TableField(value = "password_errors")
    private Long passwordErrors;

    /**
     *
     */
    @TableField(value = "spell")
    private String spell;

    /**
     * 示例：F
     */
    @TableField(value = "virtual_flag")
    private String virtualFlag;

    /**
     * 身份证号码
     */
    @TableField(value = "userId_no")
    private String useridNo;

    /**
     * 示例：01
     */
    @TableField(value = "user_gender")
    private String userGender;

    /**
     * 用户工号
     */
    @TableField(value = "user_no")
    private String userNo;
}
